package org.jeecg.modules.inspection.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.inspection.entity.Inspection;
import org.jeecg.modules.inspection.entity.InspectionException;
import org.jeecg.modules.inspection.entity.InspectionTaskRank;
import org.jeecg.modules.inspection.vo.InspectionReportVO;

import java.util.List;


/**
 * @Description: 巡检主表
 * @Author: jeecg-boot
 * @Date:   2019-09-26
 * @Version: V1.0
 */
public interface IInspectionService extends IService<Inspection> {
   Integer  updateStatus(Inspection inspection);
   InspectionException selectOfficeConfig(String officeId,Integer problemsType);

    List<Inspection> selectAllItem(String userId);
    Page<Inspection> listByProject(Page<Inspection> pageList, Inspection inspection);


    List<InspectionReportVO> queryReportByLine(String processId);

   List<InspectionException> queryConfig(String officeId);

    List<InspectionTaskRank> selectAllPlan(IPage page,InspectionTaskRank inspectionTaskRank);

    List<Inspection> selectPlanCountData(String userId, String date);
}
